package cn.tedu.sso.service;

import cn.tedu.base.response.JsonResult;
import cn.tedu.sso.pojo.po.LoginByCodeRequest;
import cn.tedu.sso.pojo.po.LoginRequest;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface SSOService {

    JsonResult login(LoginRequest loginRequest, HttpServletRequest request);

    void verificationCode(String phoneNum);

    JsonResult loginByCode(LoginByCodeRequest loginByCodeRequest);

    JsonResult loginContinue() throws IOException;

    JsonResult outLogin(Long userId);
}
